<%@ page language="java" pageEncoding="UTF-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<c:set var="ctx" value="${pageContext.request.contextPath}"/>
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="utf-8">
<title>我的保单</title>
<meta name="viewport" content="width=device-width,initial-scale=1.0,user-scalable=no" />
<!-- 添加到桌面快捷方式小图标 -->
<link rel="apple-touch-icon-precomposed" href="#">
<!-- 指定快捷方式标题 -->
<meta name="apple-mobile-web-app-title" content="志惠科技">
<link rel="stylesheet" href="css/reset.css">
<link rel="stylesheet" href="css/auto_insurance.css">
</head>
<body class="body_bg">
	<c:forEach items="${list }" var="policy">
		<div class="my_policy_container">
			<div class="my_policy_main">
				<h1 class="clearfix"><em></em>${poli.policyNo }<a href="${ctx }/getpolicyinfo2?policyNo=${poli.policyNo }" class="fr">详情></a></h1>
				<ul>
					<li><em>保费</em>￥${policy.sumPremium }元</li>
					<li><em>购买日期</em>${policy.startDate }</li>
					<li class="clearfix"><em>保单状态</em><i class="fr">
					<c:if test="${policy.policyStatus=='1' }">期满</c:if><c:if test="${policy.policyStatus=='2' }">有效</c:if>
					<c:if test="${policy.policyStatus=='3' }">退保</c:if><c:if test="${policy.policyStatus=='4' }">注销</c:if>
					</i></li>
				</ul>
			</div>
		</div>
	</c:forEach>
</body>
</html>